<!DOCTYPE html>
<html lang="cn-zh">

<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>项目管理</title>
    <meta name="description" content="">
    <meta name="author" content="templatemo">
    <link href="../css/font-awesome.min.css" rel="stylesheet">
    <link href="../css/bootstrap.min.css" rel="stylesheet">
    <link href="../css/templatemo-style.css" rel="stylesheet">
    <link href="../css/admin.css" rel="stylesheet">
    <script src="http://libs.baidu.com/jquery/1.11.3/jquery.min.js"></script>
    <script src="../js/admin.js"></script>
</head>

<body>
    <?php 
    require_once "../congfig/config.php";
    require_once "../lib/common.php";
    session_start();
    checkAdmin();
    ?>
    <!-- Left column -->
    <div class="templatemo-flex-row">
        <div class="templatemo-sidebar">
            <header class="templatemo-site-header">
                <div class="square"></div>
                <h1>后台管理系统</h1>
            </header>
            <div class="profile-photo-container">
                <img src="../images/profile-photo.jpg" alt="Profile Photo" class="img-responsive">
            </div>
            <!-- Search box -->

            <div class="mobile-menu-icon">
                <i class="fa fa-bars"></i>
            </div>
            <nav class="templatemo-left-nav">
                <ul>
                    <li id="xmgl"><a href="project-list.php"><i class="fa fa-bars fa-fw"></i>项目管理</a>
                    <ul>
                            <li><a href="addProject.php"><i class="fa fa-bars fa-fw"></i>添加项目</a></li>
                        </ul>
                        <ul>
                            <li><a href="applyproject.php"><i class="fa fa-bars fa-fw"></i>申请立项</a></li>
                        </ul>
                        <ul>
                            <li><a href="projectsucc.php"><i class="fa fa-bars fa-fw"></i>立项成功</a></li>
                        </ul>
                        <ul>
                            <li><a href="projectfail.php"><i class="fa fa-bars fa-fw"></i>立项失败</a></li>
                        </ul>
                        <ul>
                            <li><a href="applyprojectover.php"><i class="fa fa-bars fa-fw"></i>申请结项</a></li>
                        </ul>
                        <ul>
                            <li><a href="projectok.php"><i class="fa fa-bars fa-fw"></i>结项成功</a></li>
                        </ul>
                        <ul>
                            <li><a href="projectnok.php"><i class="fa fa-bars fa-fw"></i>结项失败</a></li>
                        </ul>
                        <ul>
                            <li><a href="goodpro.php"><i class="fa fa-bars fa-fw"></i>逾期项目</a></li>
                        </ul>
                    </li>
                    <li id="yhgl"><a href="user-list.php"><i class="fa fa-user fa-fw"></i>用户管理</a>
                        <ul>
                            <li><a href="addUser.php"><i class="fa fa-user fa-fw"></i>添加用户</a></li>
                        </ul>
                    </li>
                    <li><a href="pad-check.php"><i class="fa fa-cog fa-fw"></i>修改密码</a></li>
                    <li><a href="../loginout.php" id="zx"><i class="fa fa-map-marker fa-fw"></i>注销</a></li>
                </ul>
            </nav>
        </div>
        <!-- Main content -->
        <div class="templatemo-content col-1 light-gray-bg" style="height:1000px;">
            <div class="container" style="margin-top:100px;">
                <div class="tab-pane" role="tabpanel" id="addProject">
                    <div style="text-align: right;width: 100%;">
                        <form class="form-horizontal" id="addpro" enctype="multipart/form-data">
                            <div class="form-group">
                                <label class="col-xs-4 control-label">项目名称</label>
                                <div class="col-xs-5">
                                    <input type="text" id="pName" name="pName" class="form-control input-sm" style="margin-top: 7px;">
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-xs-4 control-label">项目负责人</label>
                                <div class="col-xs-5">
                                    <input type="text" id="pChar" name="pChar" class="form-control input-sm" style="margin-top: 7px;">
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-xs-4 control-label">指导教师</label>
                                <div class="col-xs-5">
                                    <input type="text" id="teacher" name="teacher" class="form-control input-sm" style="margin-top: 7px;">
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-xs-4 control-label">项目简介</label>
                                <div class="col-xs-5">
                                    <textarea type="text" id="pDesc" name="pDesc" class="form-control input-sm" style="margin-top: 7px;height: 300px;"></textarea>
                                </div>
                            </div>
                            <div class="form-group">
                                    <label  class="col-xs-4 control-label">项目进度</label>
                                        <select name ="pRank" id="pRank" required class="col-xs-5" style="margin-left:15px;">
                                                <option  value ="0" selected>申请立项</option>
                                                <!-- <option  value ="1"></option>
                                                <option  value ="2"> Web开发； </option>
                                                <option  value ="3"> 准备结题答辩。</option> -->
                                        </select>
                            
                            </div>
                            <div class="form-group">
                                <label class="col-xs-4 control-label">文件上传</label>
                                <div class="col-xs-5">
                                    <input type="file" name="Enclosure" id="Enclosure" style="margin-top: 7px;" />
                                </div>
                            </div>
                            <div class="form-group">
                                <div class="col-xs-offset-4 col-xs-5" style="margin-left: 169px;">
                                    <input type="button" id="addProject-bc" class="btn btn-xs btn-success" style="margin-top: 7px;"
                                        value="保存">
                                </div>
                            </div>
                        </form>
                    </div>
                </div>
            </div>
        </div>
    </div>
</body>

</html>